home *** CD-ROM | disk | FTP | other *** search
/ AMIGA PD 1 / AMIGA-PD-1.iso / NetBSD / docs-netbsd / Mailinglist-Archive / 1994-08.gz / 1994-08 / 000006_owner-current-u…s.berkeley.edu_Mon Aug 1 01:57:45 1994.msg < prev    next >
Text File  |  1994-10-16  |  3KB  |  62 lines

  1. Subject: Re: problems with source tarballs
  2. To: mycroft@gnu.ai.mit.edu
  3. From: "Martin Husemann" <martin@euterpe.owl.de>
  4. Cc: current-users@sun-lamp.cs.berkeley.edu, michaelv@iastate.edu
  5. Organization: The Other Site - Martin's Museum of Muses
  6. X-Mailer: ELM [version 2.4 PL23]
  7. Mime-Version: 1.0
  8. Content-Type: text/plain; charset=ISO-8859-1
  9. Content-Transfer-Encoding: 8bit
  10. Content-Length: 2090      
  11. Sender: owner-current-users@sun-lamp.cs.berkeley.edu
  12.  
  13. >    What happens on the kernels I build is this: it goes through all the
  14. >    autoconfiguration stuff, and everything looks like it's working ok.
  15. >    Then it finally gets to the part at the end where it prints the
  16. >    ttymask, biomask, etc. stuff.  Right there it just sits forever,
  17. >    [...]
  18. > Are you still having this problem?
  19.  
  20. A probably totaly unrelated story: I managed to get this effect once,
  21. and needed a few hours to find the problem. But to keep up the tension
  22. I'll tell you the whole story:
  23.  
  24. I managed to build working boot disks last Monday (via brute-force
  25. patching fd.c and disklabel.c). I then decided to change my filesystems
  26. to the new 4.4 style. After all the horror stories about fsck -c 2
  27. I made a backup first - using "tar -l -c -v .".
  28.  
  29. Fsck run fine, I installed new bootblocks and rebooted. The kernel came
  30. up, fsck started and gave up "unexpected inconsitencies, run fsck manualy"
  31. on the "/usr/src/lib/" directory.
  32.  
  33. I run fsck manualy, let it clear that directory and all else worked fine.
  34. But the fs was heavily fragmented, so I newfs'd it anyway and read back the 
  35. tape. Then I synced and booted...
  36.  
  37. The kernel loaded, probed everything fine and then the system waited forever,
  38. nothing happend. I had a kernel debugger, so I broke into it and looked
  39. at "ps": init was running two times, so obviously it tried to fork sh for
  40. /etc/rc but couldn't.
  41.  
  42. After booting from floppy and looking around (and replacing /bin/sh and
  43. /sbin/init invain) I found an empty /dev directory:
  44.  
  45. Tar -l does not recurse into other filesystems. I use this option to avoid
  46. recursion on /kern/rootdev. Since I have fdesc union-mounted to /dev,
  47. tar won't backup /dev. Ooops.
  48.  
  49. After rebuilding /dev the system booted fine...
  50.  
  51.  
  52. Martin
  53.  
  54. P.S.: please, no comments about tar vs. dump; you just have to use
  55.       both of them the right way.
  56.  
  57. -- 
  58. UNIX - An operating system similar to OS-9, but with less functionality
  59. and special features designed to soak up excess memory, disk space and
  60. CPU time on large, expensive computers.
  61.                                             -- OS-9 Glossary